-- GENERATED SPELL FOR [Bloodaxe Warmonger] --


function spell0_9716(pUnit, Event) --@Frenzy,Self--
pUnit:FullCastSpellOnTarget(8269,pUnit)
pUnit:RegisterEvent('Sorts_9716', 626, 1)
end

function spell1_9716(pUnit, Event) --@Uppercut,n/a--
pUnit:FullCastSpellOnTarget(10966,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_9716', 616, 1)
end

function Sorts_9716(pUnit, Event)
local choix_sorts_9716 = math.random(0, 1)
if choix_sorts_9716 == 0 then
pUnit:RegisterEvent('spell0_9716', 1, 1)
end
if choix_sorts_9716 == 1 then
pUnit:RegisterEvent('spell1_9716', 1, 1)
end
end

function mob9716_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_9716', math.random(1500, 3000), 1)
end

function mob9716_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9716_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9716_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(9716, 1, 'mob9716_Action')
RegisterUnitEvent(9716, 2, 'mob9716_Leave')
RegisterUnitEvent(9716, 3, 'mob9716_Kill')
RegisterUnitEvent(9716, 4, 'mob9716_Die')
